namespace Medical.Domain
{
    /// <summary>
    /// 科室实体
    /// </summary>
    public class Department
    {
        public long DepartmentId { get; set; }
        /// <summary>科别名称</summary>
        public string Name { get; set; } = string.Empty;
        /// <summary>科室地址</summary>
        public string? Address { get; set; }
        /// <summary>挂号费</summary>
        public decimal RegistrationFee { get; set; }
        /// <summary>上级科室Id（可为null）</summary>
        public long? ParentDepartmentId { get; set; }
        /// <summary>是否重点科室</summary>
        public bool IsKeyDepartment { get; set; }
        /// <summary>是否开通急诊服务</summary>
        public bool IsEmergencyAvailable { get; set; }
        /// <summary>床位数量</summary>
        public int? BedCount { get; set; }

        public bool IsDeleted { get; set; } = false;
        public DateTime? DeletedAt { get; set; }
        public string? DeletedBy { get; set; }
        public DateTime CreatedAt { get; set; } = DateTime.Now;
        public DateTime UpdatedAt { get; set; } = DateTime.Now;
    }
}
